import typing
import ipywidgets as widgets
from src.mod import Interface
from src.utils.stream import read_json


class ConfigInterface(Interface):
    name: typing.ClassVar[str] = "Конфигурация"

    def __init__(self, config, params) -> None:
        super().__init__(config, params)

        self.children = []
        self.box = widgets.VBox(self.children)

    def generate(self):
        ...
        #     widgets.Text(
        # value='Hello World',
        # placeholder='Type something',
        # description='String:',
        # disabled=False   )
